home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 7684 / 7684.xpi / chrome / firefm.jar / skin / unix / fmTrackInfo.css < prev    next >
Cascading Style Sheet File  |  2009-09-12  |  4KB  |  197 lines

  1. /**
  2.  * Copyright (c) 2008, Jose Enrique Bolanos, Jorge Villalobos
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms, with or without
  6.  * modification, are permitted provided that the following conditions are met:
  7.  *
  8.  *  * Redistributions of source code must retain the above copyright notice,
  9.  *    this list of conditions and the following disclaimer.
  10.  *  * Redistributions in binary form must reproduce the above copyright notice,
  11.  *    this list of conditions and the following disclaimer in the documentation
  12.  *    and/or other materials provided with the distribution.
  13.  *  * Neither the name of Jose Enrique Bolanos, Jorge Villalobos nor the names
  14.  *    of its contributors may be used to endorse or promote products derived
  15.  *    from this software without specific prior written permission.
  16.  *
  17.  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  18.  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  19.  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  20.  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
  21.  * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  22.  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  23.  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  24.  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  25.  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  26.  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  27.  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  28.  **/
  29.  
  30. /* General style. */
  31.  
  32. fmtrackinfo {
  33.   -moz-box-align: center;
  34.   min-width: 7em;
  35. }
  36.  
  37. fmtrackinfo[small="true"] .firefm-info-message,
  38. fmtrackinfo[small="true"] .firefm-track-info,
  39. fmtrackinfo[small="true"] .buffering-label {
  40.   display: none;
  41. }
  42.  
  43. fmtrackinfo:not([small="true"]) {
  44.   min-width: 27em;
  45. }
  46.  
  47. fmtrackinfo .text-link {
  48.   color: inherit !important;
  49.   text-decoration: none !important;
  50.   cursor: pointer !important;
  51. }
  52.  
  53. fmtrackinfo .text-link:hover:not([disabled]) {
  54.   text-decoration: underline !important;
  55. }
  56.  
  57. /* Player viewer */
  58.  
  59. .firefm-info-outer-box {
  60.   -moz-box-flex: 1;
  61.   -moz-box-align: center;
  62.   -moz-border-radius: 0.3em 0.3em 0.3em 0.3em;
  63.   border: solid 1px #857D74;
  64.   margin-top: 2px;
  65.   margin-bottom: 2px;
  66.   height: 14px;
  67.   background: url("chrome://firefm-os/skin/progressBack.png") repeat-x;
  68. }
  69.  
  70. fmtrackinfo[small="true"] .firefm-info-outer-box {
  71.   margin: 0em;
  72. }
  73.  
  74. fmtrackinfo[small="true"] .firefm-info-panel-button {
  75.   padding-top: 0em;
  76.   padding-bottom: 0em;
  77. }
  78.  
  79. fmtrackinfo[small="true"] .firefm-info-throbber {
  80.   list-style-image: url("chrome://global/skin/icons/loading_16.png");
  81.   margin-left: 1em;
  82.   width: 12px;
  83.   height: 12px;
  84. }
  85.  
  86. .firefm-info-deck {
  87.   font-size: 0.7em;
  88. }
  89.  
  90. .firefm-info-deck > hbox {
  91.   -moz-box-align: center;
  92. }
  93.  
  94. .firefm-info-deck label {
  95.   margin-top: 0em !important;
  96.   margin-bottom: 0em !important;
  97. }
  98.  
  99. .firefm-track-info {
  100.   margin: 0em !important;
  101. }
  102.  
  103. .firefm-buffering-deck > hbox {
  104.   -moz-box-flex: 1;
  105. }
  106.  
  107. .firefm-buffering-deck > hbox > label {
  108.   margin-right: 0.5em !important;
  109.   margin-left: 0em !important;
  110. }
  111.  
  112. .firefm-info-progress-box {
  113.   height: 0.9em;
  114. }
  115.  
  116. .firefm-info-progress-elapsed {
  117.   background-color: #F7C093;
  118. }
  119.  
  120. .firefm-info-progress-playhead {
  121.   width: 2px;
  122.   background-color: #99602F;
  123. }
  124.  
  125. /* XXX: this is just a hack so that the playhead doesn't cover the border. */
  126. .firefm-info-progress-space {
  127.   width: 0.1em;
  128. }
  129.  
  130. .infoBox {
  131.   padding-left: 3px;
  132.   padding-right: 3px;
  133.   padding-top: 1px;
  134.   padding-bottom: 1px;
  135.   -moz-box-align: center;
  136. }
  137.  
  138. .buffering-label {
  139.   font-size: 85%;
  140. }
  141.  
  142. .freeLabel,
  143. .timeLabel {
  144.   font-size: 85%;
  145. }
  146.  
  147. .freeLabel {
  148.   font-weight: bold;
  149. }
  150.  
  151. /* Track info panel */
  152.  
  153. .firefm-info-panel-button {
  154.   -moz-appearance: none;
  155.   border: none;
  156. }
  157.  
  158. .firefm-info-panel-outer-box {
  159.   padding: 0.5em;
  160. }
  161.  
  162. .firefm-info-panel-image-box {
  163.   width: 100px;
  164.   -moz-box-pack: start;
  165.   -moz-box-align: center;
  166. }
  167.  
  168. .firefm-info-panel-image-box > image {
  169.   background-image: url("chrome://firefm/skin/logo100.png");
  170.   width: 100px;
  171.   height: 100px;
  172.   border: thin solid #CCCCCC;
  173. }
  174.  
  175. .firefm-info-panel-info-box {
  176.   width: 27em;
  177. }
  178.  
  179. .firefm-info-panel-track {
  180.   font-size: 1.6em;
  181.   margin-bottom: 0.5em;
  182. }
  183.  
  184. .firefm-info-panel-artist {
  185.   font-size: 1.2em;
  186.   font-weight: bold;
  187. }
  188.  
  189. .firefm-info-panel-album {
  190.   font-size: 1.2em;
  191. }
  192.  
  193. .firefm-info-panel-free {
  194.   font-size: 1.2em;
  195.   font-weight: bold;
  196. }
  197.